package com.yx.frame.builder.xml;

public class JavaMethodContentXml extends MethodContentXml {

	String classname = "";

	String staticMethodName = "";

	public JavaMethodContentXml() {
		// TODO 自动生成的构造函数存根
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public String getStaticMethodName() {
		return staticMethodName;
	}

	public void setStaticMethodName(String staticMethodName) {
		this.staticMethodName = staticMethodName;
	}

	@Override
	public StringBuffer toXml() {
		StringBuffer xml = new StringBuffer();
		xml.append("		<JavaStaticMethod classname=\"" + getClassname()
				+ "\" staticMethodName=\"" + this.getStaticMethodName()
				+ "\"/>\r\n");
		return xml;
	}

}
